 /**
 * Description: 操作日志表
 * @author:HunterWu
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-05-11   HunterWu       1.0.0     Initial
 */
package com.metro.activation.sys.beans.vo;

import com.metro.activation.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.activation.sys.beans.entity.LogUserAccessEntity;

import java.text.SimpleDateFormat;
import java.util.Date;
 /**
 * 操作日志表<br>
 *
 * @author:HunterWu
 * @since:1.0.0
 * @version [1.0.0, 2018-05-11]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class LogUserAccess extends LogUserAccessEntity{

    public String beginTimeStr;

    public String endTimeStr;

    public String getAccessStartTimeStr(){
        return DateUtil.getDate(this.getAccessStartTime().toString());
    }

     public String getAccessEndTimeStr(){
         return DateUtil.getDate(this.getAccessEndTime().toString());
     }
 }
